package org.jeecg.entity.charge;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 收费项目
 * @Author: jeecg-boot
 * @Date:   2019-07-04
 * @Version: V1.0
 */
@Data
@TableName("charge_feeitem")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="charge_feeitem对象", description="收费项目")
public class ChargeFeeitem {
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**收费项目名*/
	@Excel(name = "收费项目名", width = 15)
    @ApiModelProperty(value = "收费项目名")
	private String feeName;
	/**收费类别（01:日常收费 , 02:停车收费 ,03:装修收费 , 3:进户收费,04:代收费 ,05:代收费,06:其他,07:分等收费，08:押金）*/
	@Excel(name = "收费类别", width = 15)
//	@Dict(dicCode = "fee_category")
	@ApiModelProperty(value = "收费类别")
	private String feeCategory;

	/**会计科目代号*/
	@Excel(name = "会计科目編号", width = 15)
    @ApiModelProperty(value = "会计科目編号")
	@TableField(exist = false)
	private String subjectsCode;

	private String subjectsId;
    private String feeCategoryParent;
	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
	private Integer taxRate;
	/**显示名称*/
	@Excel(name = "显示名称", width = 15)
    @ApiModelProperty(value = "显示名称")
	private String displayName;
	/**商品编码*/
	@Excel(name = "商品编码", width = 15)
    @ApiModelProperty(value = "商品编码")
	private String maintenanceCost;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
	/**delFlag*/
	@TableLogic
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	private String delFlag;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
	private String remarks;

	@TableField(exist = false)
	private String value;

	@TableField(exist = false)
	private String text;

	@TableField(exist = false)
	private String title;
	

}
